<div class="form">

<?php /** @var BootActiveForm */$form=$this->beginWidget('bootstrap.widgets.BootActiveForm', array(
	'id'=>'bank-group-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<?php echo $form->textFieldRow($model, 'username'); ?>

	<?php echo $form->textFieldRow($model, 'password'); ?>

	<?php echo $form->textAreaRow($model, 'black_ips'); ?>

	<?php echo $form->textAreaRow($model, 'white_ips'); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.BootButton', array(
			'type'=>'primary',
			'buttonType'=>'submit',
			'icon'=>'ok',
			'label'=>$model->isNewRecord ? 'Create':'Save',
		)); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->